package cn.ctodb.divination.service.dto;


import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Lob;

/**
 * A DTO for the Sancai entity.
 */
public class SancaiDTO implements Serializable {

    private Long id;

    private String title;

    private String yy;

    private String jx;

    @Lob
    private String content;

    @Lob
    private String jcy;

    private String jx1;

    @Lob
    private String cgy;

    private String jx2;

    @Lob
    private String rjgx;

    private String jx3;

    @Lob
    private String xg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getYy() {
        return yy;
    }

    public void setYy(String yy) {
        this.yy = yy;
    }
    public String getJx() {
        return jx;
    }

    public void setJx(String jx) {
        this.jx = jx;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getJcy() {
        return jcy;
    }

    public void setJcy(String jcy) {
        this.jcy = jcy;
    }
    public String getJx1() {
        return jx1;
    }

    public void setJx1(String jx1) {
        this.jx1 = jx1;
    }
    public String getCgy() {
        return cgy;
    }

    public void setCgy(String cgy) {
        this.cgy = cgy;
    }
    public String getJx2() {
        return jx2;
    }

    public void setJx2(String jx2) {
        this.jx2 = jx2;
    }
    public String getRjgx() {
        return rjgx;
    }

    public void setRjgx(String rjgx) {
        this.rjgx = rjgx;
    }
    public String getJx3() {
        return jx3;
    }

    public void setJx3(String jx3) {
        this.jx3 = jx3;
    }
    public String getXg() {
        return xg;
    }

    public void setXg(String xg) {
        this.xg = xg;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        SancaiDTO sancaiDTO = (SancaiDTO) o;

        if ( ! Objects.equals(id, sancaiDTO.id)) { return false; }

        return true;
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(id);
    }

    @Override
    public String toString() {
        return "SancaiDTO{" +
            "id=" + id +
            ", title='" + title + "'" +
            ", yy='" + yy + "'" +
            ", jx='" + jx + "'" +
            ", content='" + content + "'" +
            ", jcy='" + jcy + "'" +
            ", jx1='" + jx1 + "'" +
            ", cgy='" + cgy + "'" +
            ", jx2='" + jx2 + "'" +
            ", rjgx='" + rjgx + "'" +
            ", jx3='" + jx3 + "'" +
            ", xg='" + xg + "'" +
            '}';
    }
}
